package name.vaccari.matteo.tai.phonedirectory.model;

public class Person implements Comparable<Person> {

	private String firstName;
	private String lastName;
	private String mobile;
	private String email;
	private String skype;

	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSkype() {
		return skype;
	}
	public void setSkype(String skype) {
		this.skype = skype;
	}
	
	public int compareTo(Person o) {		
		return this.lastName.compareTo(o.lastName);
	}
}
